//
//  ClarinViewController.m
//  DiariosArgentinosV2
//
//  Created by Federico Muñecas on 12/11/12.
//  Copyright (c) 2012 Federico Muñecas. All rights reserved.
//

#import "ClarinViewController.h"

@interface ClarinViewController ()

@end

@implementation ClarinViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    NSURL *url = [NSURL URLWithString:@"http://movil.clarin.com"];
    NSURLRequest *loadURL = [[NSURLRequest alloc] initWithURL:url];
    [visor loadRequest:loadURL];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void) irAClarin
{
    NSURL *url = [NSURL URLWithString:@"http://movil.clarin.com"];
    NSURLRequest *loadURL   = [[NSURLRequest alloc] initWithURL:url];
    [visor loadRequest:loadURL];
}

- (void) irALaNacion
{
    NSURL *url = [NSURL URLWithString:@"http://www.lanacion.com.ar"];
    NSURLRequest *loadURL   = [[NSURLRequest alloc] initWithURL:url];
    [visor loadRequest:loadURL];
}

- (void) irAInfobae
{
    NSURL *url = [NSURL URLWithString:@"http://www.infobae.com.ar"];
    NSURLRequest *loadURL   = [[NSURLRequest alloc] initWithURL:url];
    [visor loadRequest:loadURL];
}

@end